import api from '../utils/api';

export async function queryAssetBrand(param) {
  return api.post('/basic/assetBrand/queryAssetBrand', {
    data: JSON.stringify(param),
  });
}


export async function queryAssetModel(param) {
  return api.post('/basic/assetModel/queryList', {
    data: JSON.stringify(param),
  });
}

export async function qryById(param) {
  return api.post('/basic/assetModel/qryById', {
    data: JSON.stringify(param),
  });
}

export async function queryAssetModelAll(param) {
  return api.post('/basic/assetModel/queryListAll', {
    data: JSON.stringify(param),
  });
}

export async function create(param) {
  return api.post('/basic/assetModel/create', {
    data: JSON.stringify(param),
  });
}

export async function remove(param) {
  return api.post('/basic/assetModel/remove', {
    data: JSON.stringify(param),
  });
}

export async function edit(param) {
  return api.post('/basic/assetModel/edit', {
    data: JSON.stringify(param),
  });
}


